logMsg='in String.py'
logMsg=logMsg+",connect Str"
#in String.py,connect Str
print(logMsg)
twoLineStr="first line\nsecond line"
print(twoLineStr)
print(len(logMsg)) #24
print(logMsg.replace('in','for') )
print(logMsg.find('String')) #3
print(logMsg.find('Exist'))  #-1
print(logMsg.index('String')) #3
#print(logMsg.index('Exist'))